package com.design.pattern.factory.method;


public class TeslaFactory implements CarFactory {

    @Override
    public Car getCar() {
        return new Tesla();
    }
    
}
